package com.muki.spider.core;

/**
 * 标记uri
 * @author ljh_2017
 *
 */
public class FlagUri {

	//uri链接
	private String uri;
	
	//主题绑定
	private String topic;
	
	//权重
	private double weight;
	
	private int depth;

	public String getUri() {
		return uri.trim();
	}

	public void setUri(String uri) {
		this.uri = uri;
	}

	public String getTopic() {
		return topic.trim();
	}

	public void setTopic(String topic) {
		this.topic = topic;
	}

	public double getWeight() {
		return weight;
	}

	public void setWeight(double weight) {
		this.weight = weight;
	}
	
	public int getDepth() {
		return depth;
	}

	public void setDepth(int depth) {
		this.depth = depth;
	}

	@Override
	public String toString() {
		return uri+" "+topic+" "+weight;
	}
}
